package com.youan.serve.controller.swagger;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import com.youan.serve.dao.domain.NoticeUser;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
/**
* <p>
    *  swagger接口描述文件
    * </p>
*
* @author auto_code
* @since 2020-03-13
*/
@Api(tags = "NoticeUser管理接口")
@Validated
public interface NoticeUserControllerSwagger {

    @ApiOperation(value = "新增一个NoticeUser实例")
    NoticeUser addNoticeUser(@Validated NoticeUser noticeUser);

    @ApiOperation(value = "修改一个NoticeUser实例")
    NoticeUser updateNoticeUser(@Validated NoticeUser noticeUser);

    @ApiOperation(value = "获取所有NoticeUser实例")
    List<NoticeUser> selectAllNoticeUser();

    @ApiOperation(value = "根据主键删除一个NoticeUser实例")
    void deleteNoticeUserByUserNoticeId(@NotBlank  String userNoticeId);

    @ApiOperation(value = "根据主键获取NoticeUser实例")
    NoticeUser selectNoticeUserByUserNoticeId(@NotBlank  String userNoticeId);

}

